home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 9 / Night Owl CD-ROM (NOPV9) (Night Owl Publisher) (1993).ISO / 032a / acctxt2.zip / BTRIEVE4.TXT < prev    next >
Text File  |  1993-01-10  |  2KB  |  55 lines

  1. Exporting a Btrieve Table W/O an Existing Xtrieve FILE.DDF
  2.  
  3. ---------------------------------------------------------------------
  4. The information in this article applies to:
  5.  
  6.  - Microsoft Access version 1.0
  7. ---------------------------------------------------------------------
  8.  
  9. Summary:
  10.  
  11. The Microsoft Access user interface requires that the Xtrieve
  12. dictionary file (FILE.DDF) exists before you can export a Btrieve
  13. table. If FILE.DDF does not exist, the macro action Transfer
  14. Database can be used to export the table.
  15.  
  16. More Information:
  17.  
  18. Multiple Btrieve tables can exist in Xtrieve databases just like
  19. Microsoft Access can have multiple Tables. The dictionary FILE.DDF
  20. describes the structure of the Xtrieve database.
  21.  
  22. The following example Macro can be used to transfer the Customers
  23. Table in the sample database NWIND.MDB to a Btrieve Table named
  24. Customers in an Xtrieve database named c:\access\btv00000.dat. This
  25. Export occurs even if btv00000.dat does not exist as long as c:\access
  26. is a valid directory.
  27.  
  28.    Macro Name      Action
  29.    ------------------------------
  30.    TransBtrieve    TransferDatabase
  31.  
  32.  
  33.    TransferDatabase Action
  34.    -----------------------
  35.       Transfer Type: Export
  36.       Database Type: Btrieve
  37.       Database Name: c:\access\btv00000.dat
  38.       Object Type: Table
  39.       Source: Customers
  40.       Destination: Customers
  41.       Structure Only: No
  42.  
  43.    NOTE: THE DATABASE NAME CAN BE ANY COMPLETE FILE SPECIFICATION.
  44.  
  45. Microsoft Access will create the following 4 files if they do not
  46. already exist:
  47.  
  48.    FILE.DDF
  49.    INDEX.DDF
  50.    FIELD.DDF
  51.    BTV00000.DAT
  52.  
  53. Transferring more than one table will add data to the existing files,
  54. but it will not create more files as long as the Database Name is not
  55. changed.